import { POST } from '@/services/request.js'

export default {
    cartAdd(data = {}) {
        return POST({
            url: '/cart/add',
            params: data
        })
    },
    cartSoleadd(data = {}) {
        return POST({
            url: '/cart/add',
            params: data
        })
    },
    cartIndex(data = {}) {
        return POST({
            url: '/cart/index',
            params: data
        })
    },
    cartEdit(data = {}) {
        return POST({
            url: '/cart/edit',
            params: data
        })
    },
    cartDel(data = {}) {
        return POST({
            url: '/cart/del',
            params: data
        })
    },
}